import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import '@/styles/index.scss'
/** 注册自定义指令 */
import directives from './directives'
/** 注册全局组件 */
import UI from './components/library/index'
/** 权限控制 */
import './permission'

Vue.config.productionTip = false
Vue.use(directives)
Vue.use(UI)

Vue.prototype.$bus = new Vue()

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
